Search results
168 packages found
Finds the closest color name to a given hex, rgb and hsl color (with and without alpha). It uses the Euclidean distance formula to calculate the distance between colors in the RGB color space
The best regular expression (regex) for matching hex color values from string.
A collection of functions for manipulating CSS colors, inspired by SASS.
Validate HTML colors by 'name', 'special name', 'hex', 'rgb', 'rgba', 'hsl', 'hsla', 'hwb', 'lab' or 'lch' values
- validation
- color
- colors
- colour
- colours
- validate color
- validate colour
- color validation
- colour validation
- HTML color validation
- HTML colour validation
- validate HTML color
- validate HTML colour
- hex
- View more
A array with color name -> Hex rgb.
Another JavaScript/TypeScript Color Utility Library
Bidirectional conversions between different colors format like RGB, HSL, HSV and HEX
Converts hex colors to rgb
Convert colors between RGB, HEX, HSL, HWB, LAB, LCH, and more
Simple utility that generates random hexadecimal colors.
Colorize terminal text for Node
ac-colors is a reactive JavaScript color library that can freely convert between RGB, HSL, HEX, XYZ, LAB, LCHab, LUV, and LCHuv, as well as handle random color generation and contrast ratio calculation.
Check that given value is valid hex color, using `hex-color-regex` - the best regex for matching hex color values
Great looking color maps
- colormap
- color map
- color
- hex
- rgb
- color-space
- cubehelix
- inferno
- magma
- plasma
- viridis
- matplotlib
- oceanography
- seismic
- View more
A simple color library
Orange.Colors - library for working with colors
Converts colors from strings to RGBA and vice versa
Determines the best contrast color to use. Give it a background color and it returns a foreground color (black or white by default but customizable).
- accessibility
- background
- black
- bright
- brighten
- brightness
- chroma
- color
- colors
- contrast
- convert
- css
- dark
- darken
- View more